<div class="box-detail">
    <?php
        if(count($item)>0):
    ?>
        <div class="flleft prd-dt-left">
            <img alt="" src="<?=base_url('data/images').'/'.$item['image']?>" onerror="defaultimg(this)" />
        </div>
        <div class="flleft prd-dt-right">
            <h3>
                <?=$item['name']?>
            </h3>
            <div class="value-prd">
                <span>Giá bán:</span><b><?=format_money($item['price'])?></b>
            </div>
            <div class="value-prd">
                <span>Số lượng trong kho:</span><?=$item['volume_exists']?>
            </div>
            <div class="value-prd">
                <span>Phí vận chuyền:</span>Tính phí khi thanh toán
            </div>
            <div class="value-prd">
                <span>Số lượng:</span><input onkeyup="numonly(this);" id="volumepurchase" maxlength="5" class="volume" type="text" value="1"/>
            </div> 
            <br />
            <div class="value-prd">
                <span>&nbsp;</span><a title="<?=$item['name']?>" onclick="add_cart(<?=$item['id']?>);" href="javascript:void(0);" class="btaddcard">Mua hàng</a>
            </div>
        </div>
        <div class="clr"></div>
        <div class="des-prd">
            <h2 class="des-prd-tt">Mô tả</h2>
            <?=$item['description']?>
        </div>
    <?php
        endif;
    ?>
</div>
